﻿@model HouseAgencySite.Models.HtmlContents

@{
    ViewBag.Title = "内容管理详细";
    Layout = "~/Areas/Admin/Views/Shared/_DetailLayout.cshtml";
}

<table class="table table-bordered">
    <thead>
        <tr class="success">
            <th colspan="2" class="text-center xl">内容管理明细</th>
        </tr>
    </thead>
    <tr>
        <td>

            <div class="display-label">
                @Html.DisplayNameFor(model => model.Title)
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Title)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.SubTitle)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.SubTitle)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Kewords)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.Kewords)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.ZhaiYao)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.Raw(Model.ZhaiYao)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.Description)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.Raw(Model.Description)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.ModuleType)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.ModuleType)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.AttachUrl)
            </div>
        </td>
        <td>
            <div class="display-field">
               <div id="imgpreview"></div>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.CreateTime)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.CreateTime)
            </div>
        </td>
    </tr>
   
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.CreateUserName)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.CreateUserName)
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.ModifyTime)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.ModifyTime)
            </div>
        </td>
    </tr>
    
    <tr>
        <td>
            <div class="display-label">
                @Html.DisplayNameFor(model => model.ModifyUserName)
            </div>
        </td>
        <td>
            <div class="display-field">
                @Html.DisplayFor(model => model.ModifyUserName)
            </div>
        </td>
    </tr>
   
</table>
<script>
    $(function () {       
        LoadImgs('@(Model.Guid)', 'imgpreview');
    });
</script>